package org.eweb4j.mvc.config.bean;

import java.util.List;

import org.eweb4j.util.xml.tag.XmlTag;
import org.eweb4j.util.xml.tag.XmlTagType;

public class InterConfigBean {
	@XmlTag(type = XmlTagType.listClassType)
	private List<Uri> uri;
	@XmlTag(type = XmlTagType.listElementType)
	private List<String> except;
	@XmlTag(type = XmlTagType.attriType)
	private String showErrorType;
	@XmlTag(type = XmlTagType.attriType)
	private String name;
	@XmlTag(type = XmlTagType.attriType, value = "before")
	private String type;
	@XmlTag(type = XmlTagType.attriType, value = "and")
	private String policy;
	@XmlTag(type = XmlTagType.attriType)
	private String clazz;

	// @XmlTag(type = XmlTagType.attriType, value =
	// "org.eweb4j.mvc.config.bean.InterConfigBean")
	// private String xmlBean;

	public List<Uri> getUri() {
		return uri;
	}

	public void setUri(List<Uri> url) {
		this.uri = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getExcept() {
		return except;
	}

	public void setExcept(List<String> except) {
		this.except = except;
	}

	public String getShowErrorType() {
		return showErrorType;
	}

	public void setShowErrorType(String showErrorType) {
		this.showErrorType = showErrorType;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	// public String getXmlBean() {
	// return xmlBean;
	// }
	//
	// public void setXmlBean(String xmlBean) {
	// this.xmlBean = xmlBean;
	// }

	public String getPolicy() {
		return policy;
	}

	public void setPolicy(String policy) {
		this.policy = policy;
	}

	@Override
	public String toString() {
		return "InterConfigBean [uri=" + uri + ", except=" + except
				+ ", showErrorType=" + showErrorType + ", name=" + name
				+ ", type=" + type + ", policy=" + policy + ", clazz=" + clazz
				+ "]";
	}

}
